package com.qfjy.controller;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.qfjy.entity.po.UserMessage;
import com.qfjy.service.impl.TulingImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author 小白
 * @Date 2021-11-14 13:23
 */
@Controller
public class TulingController {
    @Autowired
    TulingImpl tuLingImpl;
    @GetMapping("tu")
    @ResponseBody
    public String getTuLing(UserMessage userMessage){
        return tuLingImpl.getTuLing(userMessage);
    }
}
